<?php 
echo 1;
exit;
//$url='https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxab8d0efb8130469f&redirect_uri=http://vpan.tumujinhua.com/test/test.php&response_type=code&scope=snsapi_userinfo&state=123#wechat_redirect';
//$url="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxab8d0efb8130469f&redirect_uri=http://vpan.tumujinhua.com/test/test.php&response_type=code&scope=snsapi_userinfo&state=123#wechat_redirect";
$url=$appid = "wx8f0843a3e3eeb030";  
    $url = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid='.$appid.'&redirect_uri=http://web.tl178.cn/openid/test.php&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect';  
    header("Location:".$url);  

?>